package cn.steam.lock;

import java.lang.annotation.*;

/**
 * @author zhang jintao on 2022/05/19
 * <p>
 * 分布式锁注解，仅能作用于方法上
 **/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface KLock {

    String[] value() default {};

    String key() default "";

    String prefix() default "";

}
